﻿Imports BusinessRule.DTO

'Description:集件管理类接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:Wangjh
'create Date:2017-5-8
'Rewriter:
'Rewrite Date:
Public Interface uLMSIssueIBusiness
    ''' <summary>
    ''' 获取集件管理批次信息
    ''' </summary>
    ''' <param name="QueryCondition"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetCollectPieceManageData(ByVal QueryCondition As Dictionary(Of String, String)) As uMESProcessResult
    ''' <summary>
    ''' 获取集件批次BOM信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetCollectPieceManageBOMList(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 获取集件信息表数据
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetCollectErpMaterial(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 插入数据到装配信息表
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function InsertIssueErpMaterial(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    '''  获取弹出框集件批次BOM信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetPoupMaterialBomData(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 更新集件信息表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateCollectErpMaterial(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 按唯一ID删除装配信息表
    ''' </summary>
    ''' <param name="IssueERPMaterialID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DelIssueErpMaterial(ByVal IssueERPMaterialID As String) As Boolean
    ''' <summary>
    ''' 插入数据到装配报废表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function InsertIssueERPMaterialScrapInfo(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 更新装配信息表按唯一ID
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateIssueErpMaterial(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 获取装配报废表
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetIssueErpScrapInfo(ByVal para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 按唯一ID删除装配报废表
    ''' </summary>
    ''' <param name="issueERPMaterialScrapInfoID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DelIssueErpScrapInfo(ByVal issueERPMaterialScrapInfoID As String) As Boolean
    ''' <summary>
    ''' 按唯一ID更新装配报废表
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateIssueErpScrapInfo(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 更新换件信息
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateIssueChange(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 插入数据到装配报废表,集件移除
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function InsertIssueDismantleInfo(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 根据集件ID查询集件移除信息 create tianFW 2017/10/13
    ''' </summary>
    ''' <param name="IssueERPMaterialID">集件唯一ID</param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetIssueERPMaterialScrapInfoByID(ByVal IssueERPMaterialID As String) As DataTable

    ''' <summary>
    ''' 修改移除集件信息检验信息（即确认报废） create tianFW 2017/10/13
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdataIssueERPMaterialScrapInfo(ByVal para As Dictionary(Of String, String)) As Boolean

    ''' <summary>
    ''' 确认撤销集件移除 create tianFW 2017/10/16
    ''' </summary>
    ''' <param name="IssueERPMaterialScrapID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function CancleScrap(ByVal IssueERPMaterialScrapID As String) As Boolean
End Interface
